"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
var _a, _b, _c, _d;
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var element_plus_1 = require("element-plus");
// 状态管理
var activeTab = (0, vue_1.ref)('single');
var activeDate = (0, vue_1.ref)('week');
var searchKeyword = (0, vue_1.ref)('');
var detailVisible = (0, vue_1.ref)(false);
var currentProduct = (0, vue_1.ref)(null);
// 弹窗内筛选状态
var dialogStartTime = (0, vue_1.ref)('');
var dialogEndTime = (0, vue_1.ref)('');
var filteredDetails = (0, vue_1.ref)([]);
// 分页状态
var currentPage = (0, vue_1.ref)(1);
var pageSize = (0, vue_1.ref)(5);
// 模拟数据（补充弹窗所需字段）
var tableData = {
    single: {
        today: Array.from({ length: 15 }, function (_, i) { return ({
            rank: i + 1,
            name: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
            code: "HS-00".concat(i % 3 + 1),
            spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
            brand: '韩束',
            sales: 1200 + i * 100,
            amount: "\u00A5".concat((120000 + i * 10000).toLocaleString()),
            discount: "\u00A5".concat((12000 + i * 1000).toLocaleString()),
            // 补充完整明细字段
            details: [
                {
                    date: '2024.06.08',
                    orderNo: 'XS20240608001',
                    productName: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
                    productNo: "HS-00".concat(i % 3 + 1),
                    spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
                    retailPrice: i % 3 === 0 ? '¥198' : i % 3 === 1 ? '¥128' : '¥98',
                    discount: '8.5折',
                    discountPrice: i % 3 === 0 ? '¥168' : i % 3 === 1 ? '¥109' : '¥83',
                    buyer: '陈泽美容院',
                    contact: '陈泽',
                    phone: '13800138000',
                    buyNum: 20,
                    retailTotal: i % 3 === 0 ? '¥3960' : i % 3 === 1 ? '¥2560' : '¥1960',
                    dealPrice: i % 3 === 0 ? '¥3360' : i % 3 === 1 ? '¥2180' : '¥1660',
                    payment: '微信支付'
                },
                {
                    date: '2024.06.09',
                    orderNo: 'XS20240609002',
                    productName: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
                    productNo: "HS-00".concat(i % 3 + 1),
                    spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
                    retailPrice: i % 3 === 0 ? '¥198' : i % 3 === 1 ? '¥128' : '¥98',
                    discount: '8.0折',
                    discountPrice: i % 3 === 0 ? '¥158' : i % 3 === 1 ? '¥102' : '¥78',
                    buyer: '美世美容院',
                    contact: '李娜',
                    phone: '13900139000',
                    buyNum: 30,
                    retailTotal: i % 3 === 0 ? '¥5940' : i % 3 === 1 ? '¥3840' : '¥2940',
                    dealPrice: i % 3 === 0 ? '¥4740' : i % 3 === 1 ? '¥3060' : '¥2340',
                    payment: '支付宝'
                },
                {
                    date: '2024.06.10',
                    orderNo: 'XS20240610003',
                    productName: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
                    productNo: "HS-00".concat(i % 3 + 1),
                    spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
                    retailPrice: i % 3 === 0 ? '¥198' : i % 3 === 1 ? '¥128' : '¥98',
                    discount: '9.0折',
                    discountPrice: i % 3 === 0 ? '¥178' : i % 3 === 1 ? '¥115' : '¥88',
                    buyer: '盛世美颜会所',
                    contact: '王敏',
                    phone: '13700137000',
                    buyNum: 15,
                    retailTotal: i % 3 === 0 ? '¥2970' : i % 3 === 1 ? '¥1920' : '¥1470',
                    dealPrice: i % 3 === 0 ? '¥2670' : i % 3 === 1 ? '¥1725' : '¥1320',
                    payment: '银行转账'
                }
            ]
        }); }),
        week: Array.from({ length: 20 }, function (_, i) { return ({
            rank: i + 1,
            name: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
            code: "HS-00".concat(i % 3 + 1),
            spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
            brand: '韩束',
            sales: 8500 + i * 200,
            amount: "\u00A5".concat((850000 + i * 20000).toLocaleString()),
            discount: "\u00A5".concat((85000 + i * 2000).toLocaleString()),
            details: [
                {
                    date: '2024.06.05',
                    orderNo: 'XS20240605004',
                    productName: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
                    productNo: "HS-00".concat(i % 3 + 1),
                    spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
                    retailPrice: i % 3 === 0 ? '¥198' : i % 3 === 1 ? '¥128' : '¥98',
                    discount: '8.5折',
                    discountPrice: i % 3 === 0 ? '¥168' : i % 3 === 1 ? '¥109' : '¥83',
                    buyer: '陈泽美容院',
                    contact: '陈泽',
                    phone: '13800138000',
                    buyNum: 50,
                    retailTotal: i % 3 === 0 ? '¥9900' : i % 3 === 1 ? '¥6400' : '¥4900',
                    dealPrice: i % 3 === 0 ? '¥8400' : i % 3 === 1 ? '¥5450' : '¥4150',
                    payment: '微信支付'
                },
                {
                    date: '2024.06.07',
                    orderNo: 'XS20240607005',
                    productName: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
                    productNo: "HS-00".concat(i % 3 + 1),
                    spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
                    retailPrice: i % 3 === 0 ? '¥198' : i % 3 === 1 ? '¥128' : '¥98',
                    discount: '8.0折',
                    discountPrice: i % 3 === 0 ? '¥158' : i % 3 === 1 ? '¥102' : '¥78',
                    buyer: '美世美容院',
                    contact: '李娜',
                    phone: '13900139000',
                    buyNum: 40,
                    retailTotal: i % 3 === 0 ? '¥7920' : i % 3 === 1 ? '¥5120' : '¥3920',
                    dealPrice: i % 3 === 0 ? '¥6320' : i % 3 === 1 ? '¥4080' : '¥3120',
                    payment: '支付宝'
                }
            ]
        }); }),
        month: Array.from({ length: 25 }, function (_, i) { return ({
            rank: i + 1,
            name: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
            code: "HS-00".concat(i % 3 + 1),
            spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
            brand: '韩束',
            sales: 32000 + i * 500,
            amount: "\u00A5".concat((3200000 + i * 50000).toLocaleString()),
            discount: "\u00A5".concat((320000 + i * 5000).toLocaleString()),
            details: [
                {
                    date: '2024.06.01',
                    orderNo: 'XS20240601006',
                    productName: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
                    productNo: "HS-00".concat(i % 3 + 1),
                    spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
                    retailPrice: i % 3 === 0 ? '¥198' : i % 3 === 1 ? '¥128' : '¥98',
                    discount: '8.5折',
                    discountPrice: i % 3 === 0 ? '¥168' : i % 3 === 1 ? '¥109' : '¥83',
                    buyer: '陈泽美容院',
                    contact: '陈泽',
                    phone: '13800138000',
                    buyNum: 100,
                    retailTotal: i % 3 === 0 ? '¥19800' : i % 3 === 1 ? '¥12800' : '¥9800',
                    dealPrice: i % 3 === 0 ? '¥16800' : i % 3 === 1 ? '¥10900' : '¥8300',
                    payment: '银行转账'
                },
                {
                    date: '2024.06.10',
                    orderNo: 'XS20240610007',
                    productName: i % 3 === 0 ? '韩束精华液' : i % 3 === 1 ? '韩束补水面膜' : '韩束BB霜',
                    productNo: "HS-00".concat(i % 3 + 1),
                    spec: i % 3 === 0 ? '50ml' : i % 3 === 1 ? '10片' : '30g',
                    retailPrice: i % 3 === 0 ? '¥198' : i % 3 === 1 ? '¥128' : '¥98',
                    discount: '8.0折',
                    discountPrice: i % 3 === 0 ? '¥158' : i % 3 === 1 ? '¥102' : '¥78',
                    buyer: '美世美容院',
                    contact: '李娜',
                    phone: '13900139000',
                    buyNum: 80,
                    retailTotal: i % 3 === 0 ? '¥15840' : i % 3 === 1 ? '¥10240' : '¥7840',
                    dealPrice: i % 3 === 0 ? '¥12640' : i % 3 === 1 ? '¥8160' : '¥6240',
                    payment: '微信支付'
                }
            ]
        }); })
    },
    set: { today: [], week: [], month: [] },
    project: { today: [], week: [], month: [] }
};
// 计算属性：基础数据
var baseData = (0, vue_1.computed)(function () {
    return tableData[activeTab.value][activeDate.value] || [];
});
// 计算属性：筛选后数据
var filteredData = (0, vue_1.computed)(function () {
    if (!searchKeyword.value)
        return baseData.value;
    var keyword = searchKeyword.value.trim();
    return baseData.value.filter(function (item) {
        return item.name.includes(keyword);
    });
});
// 计算属性：分页数据
var pagedData = (0, vue_1.computed)(function () {
    var startIndex = (currentPage.value - 1) * pageSize.value;
    return filteredData.value.slice(startIndex, startIndex + pageSize.value);
});
// 弹窗明细计算
var totalBuyNum = (0, vue_1.computed)(function () {
    var _a;
    if (!((_a = currentProduct.value) === null || _a === void 0 ? void 0 : _a.details))
        return 0;
    return currentProduct.value.details.reduce(function (sum, item) { return sum + item.buyNum; }, 0);
});
var totalRetailPrice = (0, vue_1.computed)(function () {
    var _a;
    if (!((_a = currentProduct.value) === null || _a === void 0 ? void 0 : _a.details))
        return '¥0';
    var total = currentProduct.value.details.reduce(function (sum, item) {
        return sum + Number(item.retailTotal.replace('¥', ''));
    }, 0);
    return "\u00A5".concat(total.toLocaleString());
});
var totalDealPrice = (0, vue_1.computed)(function () {
    var _a;
    if (!((_a = currentProduct.value) === null || _a === void 0 ? void 0 : _a.details))
        return '¥0';
    var total = currentProduct.value.details.reduce(function (sum, item) {
        return sum + Number(item.dealPrice.replace('¥', ''));
    }, 0);
    return "\u00A5".concat(total.toLocaleString());
});
// 筛选后明细计算
var filteredBuyNum = (0, vue_1.computed)(function () {
    return filteredDetails.value.reduce(function (sum, item) { return sum + item.buyNum; }, 0);
});
var filteredRetailPrice = (0, vue_1.computed)(function () {
    var total = filteredDetails.value.reduce(function (sum, item) {
        return sum + Number(item.retailTotal.replace('¥', ''));
    }, 0);
    return "\u00A5".concat(total.toLocaleString());
});
var filteredDealPrice = (0, vue_1.computed)(function () {
    var total = filteredDetails.value.reduce(function (sum, item) {
        return sum + Number(item.dealPrice.replace('¥', ''));
    }, 0);
    return "\u00A5".concat(total.toLocaleString());
});
// 监听产品变化，初始化明细数据
(0, vue_1.watch)(currentProduct, function (newVal) {
    if (newVal === null || newVal === void 0 ? void 0 : newVal.details) {
        filteredDetails.value = __spreadArray([], newVal.details, true);
    }
    else {
        filteredDetails.value = [];
    }
    // 重置弹窗时间筛选
    dialogStartTime.value = '';
    dialogEndTime.value = '';
});
// 弹窗内时间筛选
var filterDetailData = function () {
    var _a;
    if (!((_a = currentProduct.value) === null || _a === void 0 ? void 0 : _a.details))
        return;
    if (!dialogStartTime.value && !dialogEndTime.value) {
        filteredDetails.value = __spreadArray([], currentProduct.value.details, true);
        return;
    }
    var start = new Date(dialogStartTime.value);
    var end = new Date(dialogEndTime.value);
    filteredDetails.value = currentProduct.value.details.filter(function (item) {
        var itemDate = new Date(item.date.replace(/\./g, '-'));
        return itemDate >= start && itemDate <= end;
    });
};
// 弹窗内导出功能
var exportDetailData = function () {
    if (filteredDetails.value.length === 0) {
        element_plus_1.ElMessage.warning('没有可导出的数据');
        return;
    }
    element_plus_1.ElMessage.success('明细数据已导出为Excel');
};
// 原有方法
var handleTabChange = function () {
    currentPage.value = 1;
};
var handleDateChange = function () {
    currentPage.value = 1;
};
var handleSearch = function () {
    currentPage.value = 1;
};
var handleSizeChange = function (size) {
    pageSize.value = size;
    currentPage.value = 1;
};
var handleCurrentChange = function (page) {
    currentPage.value = page;
};
var openDetail = function (row) {
    currentProduct.value = row;
    detailVisible.value = true;
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['pillar-body']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-body']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-body']} */ ;
/** @type {__VLS_StyleScopedClasses['sales-table']} */ ;
/** @type {__VLS_StyleScopedClasses['sales-table']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "sales-container" }));
__VLS_asFunctionalElement(__VLS_elements.h1, __VLS_elements.h1)(__assign({ class: "page-title" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "top3-pillars" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pillar-item second-pillar" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "rank-text" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pillar-body" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "product-info" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "brand" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "name" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "price" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "total" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pillar-item first-pillar" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "rank-text" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pillar-body" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "product-info" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "brand" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "name" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "price" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "total" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pillar-item third-pillar" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "rank-text" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pillar-body" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "product-info" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "brand" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "name" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "price" }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)(__assign({ class: "total" }));
var __VLS_0 = {}.ElTabs;
/** @type {[typeof __VLS_components.ElTabs, typeof __VLS_components.elTabs, typeof __VLS_components.ElTabs, typeof __VLS_components.elTabs, ]} */ ;
// @ts-ignore
ElTabs;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0(__assign(__assign({ 'onTabChange': {} }, { modelValue: (__VLS_ctx.activeTab) }), { class: "sales-tabs" })));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([__assign(__assign({ 'onTabChange': {} }, { modelValue: (__VLS_ctx.activeTab) }), { class: "sales-tabs" })], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4;
var __VLS_5;
var __VLS_6 = ({ tabChange: {} },
    { onTabChange: (__VLS_ctx.handleTabChange) });
var __VLS_7 = __VLS_3.slots.default;
// @ts-ignore
[activeTab, handleTabChange,];
var __VLS_8 = {}.ElTabPane;
/** @type {[typeof __VLS_components.ElTabPane, typeof __VLS_components.elTabPane, ]} */ ;
// @ts-ignore
ElTabPane;
// @ts-ignore
var __VLS_9 = __VLS_asFunctionalComponent(__VLS_8, new __VLS_8({
    label: "单品销售排行榜",
    name: "single",
}));
var __VLS_10 = __VLS_9.apply(void 0, __spreadArray([{
        label: "单品销售排行榜",
        name: "single",
    }], __VLS_functionalComponentArgsRest(__VLS_9), false));
var __VLS_13 = {}.ElTabPane;
/** @type {[typeof __VLS_components.ElTabPane, typeof __VLS_components.elTabPane, ]} */ ;
// @ts-ignore
ElTabPane;
// @ts-ignore
var __VLS_14 = __VLS_asFunctionalComponent(__VLS_13, new __VLS_13({
    label: "套装销售排行榜",
    name: "set",
}));
var __VLS_15 = __VLS_14.apply(void 0, __spreadArray([{
        label: "套装销售排行榜",
        name: "set",
    }], __VLS_functionalComponentArgsRest(__VLS_14), false));
var __VLS_18 = {}.ElTabPane;
/** @type {[typeof __VLS_components.ElTabPane, typeof __VLS_components.elTabPane, ]} */ ;
// @ts-ignore
ElTabPane;
// @ts-ignore
var __VLS_19 = __VLS_asFunctionalComponent(__VLS_18, new __VLS_18({
    label: "项目销售排行榜",
    name: "project",
}));
var __VLS_20 = __VLS_19.apply(void 0, __spreadArray([{
        label: "项目销售排行榜",
        name: "project",
    }], __VLS_functionalComponentArgsRest(__VLS_19), false));
var __VLS_3;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "filter-container" }));
var __VLS_23 = {}.ElRadioGroup;
/** @type {[typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, typeof __VLS_components.ElRadioGroup, typeof __VLS_components.elRadioGroup, ]} */ ;
// @ts-ignore
ElRadioGroup;
// @ts-ignore
var __VLS_24 = __VLS_asFunctionalComponent(__VLS_23, new __VLS_23(__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.activeDate) }), { class: "date-filter" })));
var __VLS_25 = __VLS_24.apply(void 0, __spreadArray([__assign(__assign({ 'onChange': {} }, { modelValue: (__VLS_ctx.activeDate) }), { class: "date-filter" })], __VLS_functionalComponentArgsRest(__VLS_24), false));
var __VLS_27;
var __VLS_28;
var __VLS_29 = ({ change: {} },
    { onChange: (__VLS_ctx.handleDateChange) });
var __VLS_30 = __VLS_26.slots.default;
// @ts-ignore
[activeDate, handleDateChange,];
var __VLS_31 = {}.ElRadioButton;
/** @type {[typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, ]} */ ;
// @ts-ignore
ElRadioButton;
// @ts-ignore
var __VLS_32 = __VLS_asFunctionalComponent(__VLS_31, new __VLS_31({
    label: "today",
}));
var __VLS_33 = __VLS_32.apply(void 0, __spreadArray([{
        label: "today",
    }], __VLS_functionalComponentArgsRest(__VLS_32), false));
var __VLS_35 = __VLS_34.slots.default;
var __VLS_34;
var __VLS_36 = {}.ElRadioButton;
/** @type {[typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, ]} */ ;
// @ts-ignore
ElRadioButton;
// @ts-ignore
var __VLS_37 = __VLS_asFunctionalComponent(__VLS_36, new __VLS_36({
    label: "week",
}));
var __VLS_38 = __VLS_37.apply(void 0, __spreadArray([{
        label: "week",
    }], __VLS_functionalComponentArgsRest(__VLS_37), false));
var __VLS_40 = __VLS_39.slots.default;
var __VLS_39;
var __VLS_41 = {}.ElRadioButton;
/** @type {[typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, typeof __VLS_components.ElRadioButton, typeof __VLS_components.elRadioButton, ]} */ ;
// @ts-ignore
ElRadioButton;
// @ts-ignore
var __VLS_42 = __VLS_asFunctionalComponent(__VLS_41, new __VLS_41({
    label: "month",
}));
var __VLS_43 = __VLS_42.apply(void 0, __spreadArray([{
        label: "month",
    }], __VLS_functionalComponentArgsRest(__VLS_42), false));
var __VLS_45 = __VLS_44.slots.default;
var __VLS_44;
var __VLS_26;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "search-container" }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ class: "search-label" }));
var __VLS_46 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_47 = __VLS_asFunctionalComponent(__VLS_46, new __VLS_46(__assign(__assign({ modelValue: (__VLS_ctx.searchKeyword) }, { class: "search-input" }), { placeholder: "请输入产品名称" })));
var __VLS_48 = __VLS_47.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (__VLS_ctx.searchKeyword) }, { class: "search-input" }), { placeholder: "请输入产品名称" })], __VLS_functionalComponentArgsRest(__VLS_47), false));
// @ts-ignore
[searchKeyword,];
var __VLS_51 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_52 = __VLS_asFunctionalComponent(__VLS_51, new __VLS_51(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" })));
var __VLS_53 = __VLS_52.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "search-btn" })], __VLS_functionalComponentArgsRest(__VLS_52), false));
var __VLS_55;
var __VLS_56;
var __VLS_57 = ({ click: {} },
    { onClick: (__VLS_ctx.handleSearch) });
var __VLS_58 = __VLS_54.slots.default;
// @ts-ignore
[handleSearch,];
var __VLS_54;
var __VLS_59 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_60 = __VLS_asFunctionalComponent(__VLS_59, new __VLS_59(__assign({ data: (__VLS_ctx.pagedData), border: true }, { class: "sales-table" })));
var __VLS_61 = __VLS_60.apply(void 0, __spreadArray([__assign({ data: (__VLS_ctx.pagedData), border: true }, { class: "sales-table" })], __VLS_functionalComponentArgsRest(__VLS_60), false));
var __VLS_63 = __VLS_62.slots.default;
// @ts-ignore
[pagedData,];
var __VLS_64 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_65 = __VLS_asFunctionalComponent(__VLS_64, new __VLS_64({
    prop: "rank",
    label: "销售排名",
}));
var __VLS_66 = __VLS_65.apply(void 0, __spreadArray([{
        prop: "rank",
        label: "销售排名",
    }], __VLS_functionalComponentArgsRest(__VLS_65), false));
var __VLS_69 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_70 = __VLS_asFunctionalComponent(__VLS_69, new __VLS_69({
    prop: "name",
    label: "产品名称",
}));
var __VLS_71 = __VLS_70.apply(void 0, __spreadArray([{
        prop: "name",
        label: "产品名称",
    }], __VLS_functionalComponentArgsRest(__VLS_70), false));
var __VLS_74 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_75 = __VLS_asFunctionalComponent(__VLS_74, new __VLS_74({
    prop: "code",
    label: "产品编号",
}));
var __VLS_76 = __VLS_75.apply(void 0, __spreadArray([{
        prop: "code",
        label: "产品编号",
    }], __VLS_functionalComponentArgsRest(__VLS_75), false));
var __VLS_79 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_80 = __VLS_asFunctionalComponent(__VLS_79, new __VLS_79({
    prop: "spec",
    label: "产品规格",
}));
var __VLS_81 = __VLS_80.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "产品规格",
    }], __VLS_functionalComponentArgsRest(__VLS_80), false));
var __VLS_84 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_85 = __VLS_asFunctionalComponent(__VLS_84, new __VLS_84({
    prop: "brand",
    label: "品牌归属",
}));
var __VLS_86 = __VLS_85.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "品牌归属",
    }], __VLS_functionalComponentArgsRest(__VLS_85), false));
var __VLS_89 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_90 = __VLS_asFunctionalComponent(__VLS_89, new __VLS_89({
    prop: "sales",
    label: "销售数量",
}));
var __VLS_91 = __VLS_90.apply(void 0, __spreadArray([{
        prop: "sales",
        label: "销售数量",
    }], __VLS_functionalComponentArgsRest(__VLS_90), false));
var __VLS_94 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_95 = __VLS_asFunctionalComponent(__VLS_94, new __VLS_94({
    prop: "amount",
    label: "销售总金额",
}));
var __VLS_96 = __VLS_95.apply(void 0, __spreadArray([{
        prop: "amount",
        label: "销售总金额",
    }], __VLS_functionalComponentArgsRest(__VLS_95), false));
var __VLS_99 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_100 = __VLS_asFunctionalComponent(__VLS_99, new __VLS_99({
    prop: "discount",
    label: "折扣总金额",
}));
var __VLS_101 = __VLS_100.apply(void 0, __spreadArray([{
        prop: "discount",
        label: "折扣总金额",
    }], __VLS_functionalComponentArgsRest(__VLS_100), false));
var __VLS_104 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_105 = __VLS_asFunctionalComponent(__VLS_104, new __VLS_104({
    label: "操作",
}));
var __VLS_106 = __VLS_105.apply(void 0, __spreadArray([{
        label: "操作",
    }], __VLS_functionalComponentArgsRest(__VLS_105), false));
var __VLS_108 = __VLS_107.slots.default;
{
    var __VLS_109 = __VLS_107.slots.default;
    var scope_1 = __VLS_getSlotParameters(__VLS_109)[0];
    var __VLS_110 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_111 = __VLS_asFunctionalComponent(__VLS_110, new __VLS_110(__assign({ 'onClick': {} }, { class: "detail-btn" })));
    var __VLS_112 = __VLS_111.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { class: "detail-btn" })], __VLS_functionalComponentArgsRest(__VLS_111), false));
    var __VLS_114 = void 0;
    var __VLS_115 = void 0;
    var __VLS_116 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.openDetail(scope_1.row);
                // @ts-ignore
                [openDetail,];
            } });
    var __VLS_117 = __VLS_113.slots.default;
    var __VLS_113;
}
var __VLS_107;
var __VLS_62;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "pagination-container" }));
var __VLS_118 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_119 = __VLS_asFunctionalComponent(__VLS_118, new __VLS_118(__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([5, 10, 20]), total: (__VLS_ctx.filteredData.length), layout: "total, sizes, prev, pager, next, jumper" })));
var __VLS_120 = __VLS_119.apply(void 0, __spreadArray([__assign(__assign({ 'onSizeChange': {} }, { 'onCurrentChange': {} }), { currentPage: (__VLS_ctx.currentPage), pageSize: (__VLS_ctx.pageSize), pageSizes: ([5, 10, 20]), total: (__VLS_ctx.filteredData.length), layout: "total, sizes, prev, pager, next, jumper" })], __VLS_functionalComponentArgsRest(__VLS_119), false));
var __VLS_122;
var __VLS_123;
var __VLS_124 = ({ sizeChange: {} },
    { onSizeChange: (__VLS_ctx.handleSizeChange) });
var __VLS_125 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleCurrentChange) });
// @ts-ignore
[currentPage, pageSize, filteredData, handleSizeChange, handleCurrentChange,];
var __VLS_121;
var __VLS_127 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_128 = __VLS_asFunctionalComponent(__VLS_127, new __VLS_127({
    modelValue: (__VLS_ctx.detailVisible),
    title: "产品销售明细",
    width: "1200px",
}));
var __VLS_129 = __VLS_128.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.detailVisible),
        title: "产品销售明细",
        width: "1200px",
    }], __VLS_functionalComponentArgsRest(__VLS_128), false));
var __VLS_131 = __VLS_130.slots.default;
// @ts-ignore
[detailVisible,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "dialog-filter" }, { style: {} }));
var __VLS_132 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_133 = __VLS_asFunctionalComponent(__VLS_132, new __VLS_132(__assign({ modelValue: (__VLS_ctx.dialogStartTime), type: "date", placeholder: "开始时间" }, { style: {} })));
var __VLS_134 = __VLS_133.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.dialogStartTime), type: "date", placeholder: "开始时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_133), false));
// @ts-ignore
[dialogStartTime,];
var __VLS_137 = {}.ElDatePicker;
/** @type {[typeof __VLS_components.ElDatePicker, typeof __VLS_components.elDatePicker, ]} */ ;
// @ts-ignore
ElDatePicker;
// @ts-ignore
var __VLS_138 = __VLS_asFunctionalComponent(__VLS_137, new __VLS_137(__assign({ modelValue: (__VLS_ctx.dialogEndTime), type: "date", placeholder: "结束时间" }, { style: {} })));
var __VLS_139 = __VLS_138.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.dialogEndTime), type: "date", placeholder: "结束时间" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_138), false));
// @ts-ignore
[dialogEndTime,];
var __VLS_142 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_143 = __VLS_asFunctionalComponent(__VLS_142, new __VLS_142(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_144 = __VLS_143.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_143), false));
var __VLS_146;
var __VLS_147;
var __VLS_148 = ({ click: {} },
    { onClick: (__VLS_ctx.filterDetailData) });
var __VLS_149 = __VLS_145.slots.default;
// @ts-ignore
[filterDetailData,];
var __VLS_145;
var __VLS_150 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_151 = __VLS_asFunctionalComponent(__VLS_150, new __VLS_150(__assign({ 'onClick': {} }, { type: "danger" })));
var __VLS_152 = __VLS_151.apply(void 0, __spreadArray([__assign({ 'onClick': {} }, { type: "danger" })], __VLS_functionalComponentArgsRest(__VLS_151), false));
var __VLS_154;
var __VLS_155;
var __VLS_156 = ({ click: {} },
    { onClick: (__VLS_ctx.exportDetailData) });
var __VLS_157 = __VLS_153.slots.default;
// @ts-ignore
[exportDetailData,];
var __VLS_153;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "product-base-info" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ style: {} }));
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(((_a = __VLS_ctx.currentProduct) === null || _a === void 0 ? void 0 : _a.name) || '');
// @ts-ignore
[currentProduct,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(((_b = __VLS_ctx.currentProduct) === null || _b === void 0 ? void 0 : _b.code) || '');
// @ts-ignore
[currentProduct,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(((_c = __VLS_ctx.currentProduct) === null || _c === void 0 ? void 0 : _c.spec) || '');
// @ts-ignore
[currentProduct,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(((_d = __VLS_ctx.currentProduct) === null || _d === void 0 ? void 0 : _d.brand) || '');
// @ts-ignore
[currentProduct,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(__VLS_ctx.totalBuyNum);
// @ts-ignore
[totalBuyNum,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(__VLS_ctx.totalRetailPrice);
// @ts-ignore
[totalRetailPrice,];
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
(__VLS_ctx.totalDealPrice);
// @ts-ignore
[totalDealPrice,];
if (__VLS_ctx.currentProduct) {
    // @ts-ignore
    [currentProduct,];
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "detail-content" }));
    var __VLS_158 = {}.ElTable;
    /** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
    // @ts-ignore
    ElTable;
    // @ts-ignore
    var __VLS_159 = __VLS_asFunctionalComponent(__VLS_158, new __VLS_158({
        data: (__VLS_ctx.filteredDetails),
        border: true,
        stripe: true,
        size: "small",
        cellStyle: ({ textAlign: 'center' }),
        headerCellStyle: ({ textAlign: 'center', backgroundColor: '#f5f5f5' }),
    }));
    var __VLS_160 = __VLS_159.apply(void 0, __spreadArray([{
            data: (__VLS_ctx.filteredDetails),
            border: true,
            stripe: true,
            size: "small",
            cellStyle: ({ textAlign: 'center' }),
            headerCellStyle: ({ textAlign: 'center', backgroundColor: '#f5f5f5' }),
        }], __VLS_functionalComponentArgsRest(__VLS_159), false));
    var __VLS_162 = __VLS_161.slots.default;
    // @ts-ignore
    [filteredDetails,];
    var __VLS_163 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_164 = __VLS_asFunctionalComponent(__VLS_163, new __VLS_163({
        prop: "date",
        label: "日期",
        width: "100",
    }));
    var __VLS_165 = __VLS_164.apply(void 0, __spreadArray([{
            prop: "date",
            label: "日期",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_164), false));
    var __VLS_168 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_169 = __VLS_asFunctionalComponent(__VLS_168, new __VLS_168({
        prop: "orderNo",
        label: "订单号",
        width: "120",
    }));
    var __VLS_170 = __VLS_169.apply(void 0, __spreadArray([{
            prop: "orderNo",
            label: "订单号",
            width: "120",
        }], __VLS_functionalComponentArgsRest(__VLS_169), false));
    var __VLS_173 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_174 = __VLS_asFunctionalComponent(__VLS_173, new __VLS_173({
        prop: "productName",
        label: "产品名称",
        width: "120",
    }));
    var __VLS_175 = __VLS_174.apply(void 0, __spreadArray([{
            prop: "productName",
            label: "产品名称",
            width: "120",
        }], __VLS_functionalComponentArgsRest(__VLS_174), false));
    var __VLS_178 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_179 = __VLS_asFunctionalComponent(__VLS_178, new __VLS_178({
        prop: "productNo",
        label: "产品编号",
        width: "120",
    }));
    var __VLS_180 = __VLS_179.apply(void 0, __spreadArray([{
            prop: "productNo",
            label: "产品编号",
            width: "120",
        }], __VLS_functionalComponentArgsRest(__VLS_179), false));
    var __VLS_183 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_184 = __VLS_asFunctionalComponent(__VLS_183, new __VLS_183({
        prop: "spec",
        label: "规格",
        width: "80",
    }));
    var __VLS_185 = __VLS_184.apply(void 0, __spreadArray([{
            prop: "spec",
            label: "规格",
            width: "80",
        }], __VLS_functionalComponentArgsRest(__VLS_184), false));
    var __VLS_188 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_189 = __VLS_asFunctionalComponent(__VLS_188, new __VLS_188({
        prop: "retailPrice",
        label: "零售价",
        width: "100",
    }));
    var __VLS_190 = __VLS_189.apply(void 0, __spreadArray([{
            prop: "retailPrice",
            label: "零售价",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_189), false));
    var __VLS_193 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_194 = __VLS_asFunctionalComponent(__VLS_193, new __VLS_193({
        prop: "discount",
        label: "折扣",
        width: "80",
    }));
    var __VLS_195 = __VLS_194.apply(void 0, __spreadArray([{
            prop: "discount",
            label: "折扣",
            width: "80",
        }], __VLS_functionalComponentArgsRest(__VLS_194), false));
    var __VLS_198 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_199 = __VLS_asFunctionalComponent(__VLS_198, new __VLS_198({
        prop: "discountPrice",
        label: "折扣价",
        width: "100",
    }));
    var __VLS_200 = __VLS_199.apply(void 0, __spreadArray([{
            prop: "discountPrice",
            label: "折扣价",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_199), false));
    var __VLS_203 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_204 = __VLS_asFunctionalComponent(__VLS_203, new __VLS_203({
        prop: "buyer",
        label: "购买店家",
        width: "120",
    }));
    var __VLS_205 = __VLS_204.apply(void 0, __spreadArray([{
            prop: "buyer",
            label: "购买店家",
            width: "120",
        }], __VLS_functionalComponentArgsRest(__VLS_204), false));
    var __VLS_208 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_209 = __VLS_asFunctionalComponent(__VLS_208, new __VLS_208({
        prop: "contact",
        label: "联系人",
        width: "100",
    }));
    var __VLS_210 = __VLS_209.apply(void 0, __spreadArray([{
            prop: "contact",
            label: "联系人",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_209), false));
    var __VLS_213 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_214 = __VLS_asFunctionalComponent(__VLS_213, new __VLS_213({
        prop: "phone",
        label: "联系电话",
        width: "120",
    }));
    var __VLS_215 = __VLS_214.apply(void 0, __spreadArray([{
            prop: "phone",
            label: "联系电话",
            width: "120",
        }], __VLS_functionalComponentArgsRest(__VLS_214), false));
    var __VLS_218 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_219 = __VLS_asFunctionalComponent(__VLS_218, new __VLS_218({
        prop: "buyNum",
        label: "购买数量",
        width: "100",
    }));
    var __VLS_220 = __VLS_219.apply(void 0, __spreadArray([{
            prop: "buyNum",
            label: "购买数量",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_219), false));
    var __VLS_223 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_224 = __VLS_asFunctionalComponent(__VLS_223, new __VLS_223({
        prop: "retailTotal",
        label: "零售总价",
        width: "100",
    }));
    var __VLS_225 = __VLS_224.apply(void 0, __spreadArray([{
            prop: "retailTotal",
            label: "零售总价",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_224), false));
    var __VLS_228 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_229 = __VLS_asFunctionalComponent(__VLS_228, new __VLS_228({
        prop: "dealPrice",
        label: "成交价",
        width: "100",
    }));
    var __VLS_230 = __VLS_229.apply(void 0, __spreadArray([{
            prop: "dealPrice",
            label: "成交价",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_229), false));
    var __VLS_233 = {}.ElTableColumn;
    /** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
    // @ts-ignore
    ElTableColumn;
    // @ts-ignore
    var __VLS_234 = __VLS_asFunctionalComponent(__VLS_233, new __VLS_233({
        prop: "payment",
        label: "支付方式",
        width: "100",
    }));
    var __VLS_235 = __VLS_234.apply(void 0, __spreadArray([{
            prop: "payment",
            label: "支付方式",
            width: "100",
        }], __VLS_functionalComponentArgsRest(__VLS_234), false));
    var __VLS_161;
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "detail-total" }, { style: {} }));
    (__VLS_ctx.filteredBuyNum);
    (__VLS_ctx.filteredRetailPrice);
    (__VLS_ctx.filteredDealPrice);
    // @ts-ignore
    [filteredBuyNum, filteredRetailPrice, filteredDealPrice,];
}
var __VLS_130;
/** @type {__VLS_StyleScopedClasses['sales-container']} */ ;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
/** @type {__VLS_StyleScopedClasses['top3-pillars']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-item']} */ ;
/** @type {__VLS_StyleScopedClasses['second-pillar']} */ ;
/** @type {__VLS_StyleScopedClasses['rank-text']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-body']} */ ;
/** @type {__VLS_StyleScopedClasses['product-info']} */ ;
/** @type {__VLS_StyleScopedClasses['brand']} */ ;
/** @type {__VLS_StyleScopedClasses['name']} */ ;
/** @type {__VLS_StyleScopedClasses['price']} */ ;
/** @type {__VLS_StyleScopedClasses['total']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-item']} */ ;
/** @type {__VLS_StyleScopedClasses['first-pillar']} */ ;
/** @type {__VLS_StyleScopedClasses['rank-text']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-body']} */ ;
/** @type {__VLS_StyleScopedClasses['product-info']} */ ;
/** @type {__VLS_StyleScopedClasses['brand']} */ ;
/** @type {__VLS_StyleScopedClasses['name']} */ ;
/** @type {__VLS_StyleScopedClasses['price']} */ ;
/** @type {__VLS_StyleScopedClasses['total']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-item']} */ ;
/** @type {__VLS_StyleScopedClasses['third-pillar']} */ ;
/** @type {__VLS_StyleScopedClasses['rank-text']} */ ;
/** @type {__VLS_StyleScopedClasses['pillar-body']} */ ;
/** @type {__VLS_StyleScopedClasses['product-info']} */ ;
/** @type {__VLS_StyleScopedClasses['brand']} */ ;
/** @type {__VLS_StyleScopedClasses['name']} */ ;
/** @type {__VLS_StyleScopedClasses['price']} */ ;
/** @type {__VLS_StyleScopedClasses['total']} */ ;
/** @type {__VLS_StyleScopedClasses['sales-tabs']} */ ;
/** @type {__VLS_StyleScopedClasses['filter-container']} */ ;
/** @type {__VLS_StyleScopedClasses['date-filter']} */ ;
/** @type {__VLS_StyleScopedClasses['search-container']} */ ;
/** @type {__VLS_StyleScopedClasses['search-label']} */ ;
/** @type {__VLS_StyleScopedClasses['search-input']} */ ;
/** @type {__VLS_StyleScopedClasses['search-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['sales-table']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['pagination-container']} */ ;
/** @type {__VLS_StyleScopedClasses['dialog-filter']} */ ;
/** @type {__VLS_StyleScopedClasses['product-base-info']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-content']} */ ;
/** @type {__VLS_StyleScopedClasses['detail-total']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
